import React, { Suspense } from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
import { HashRouter as Hash } from "react-router-dom";

console.log("项目的主入口");

ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
  <React.StrictMode>
    <Suspense>
      <Hash>
        <App />
      </Hash>
    </Suspense>
  </React.StrictMode>
);
